package org.bspv.pharma.dao.impl;

import org.bspv.pharma.dao.CategoryDAO;
import org.bspv.pharma.model.Category;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

/**
 * DAO pour l'objet <code>Category</code>
 * @author guillaume
 *
 */
@Repository(value = "categoryDAO")
public class CategoryDAOImpl extends AbstractHibernateDAO<Category, Long>
		implements CategoryDAO {

    /**
     * Constructeur.
     * @param sessionFactory SessionFactory
     */
	@Autowired
	public CategoryDAOImpl(SessionFactory sessionFactory) {
		setSessionFactory(sessionFactory);
	}

}
